<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app">
    <h1 v-if="awesome">好</h1>
    <!-- if else中间可以插入其他值   -->
    <h3>中</h3>
    <h2 v-else>差</h2>
</div>
<script>
    const vueOpt = {
        data(){
            return {
                awesome: false
            }
        }
    }

    Vue.createApp(vueOpt).mount('#app');

</script>
</body>
</html>